package cn.pconline.autoclub.entity;

import java.util.Date;
import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 * 车友会油值变化日志
 *
 * @author chensy
 */
@Entity(tableName = "ac_club_petrol_log", split = "Date:createAt:m")
public class ClubPetrolLog {

    @Id
    @Column(name = "club_petrol_log_id")
    private long clubPetrolLogId;//日志Id
    @Column(name = "club_id")
    private long clubId;//车友会Id
    @Column(name = "create_at")
    private Date createAt;//记录时间
    @Column(name = "reason")
    private String reason;//加(减)分原因
    @Column(name = "petrol")
    private long petrol;//加(减)分值

    public long getClubPetrolLogId() {
        return clubPetrolLogId;
    }

    public void setClubPetrolLogId(long clubPetrolLogId) {
        this.clubPetrolLogId = clubPetrolLogId;
    }

    public long getClubId() {
        return clubId;
    }

    public void setClubId(long clubId) {
        this.clubId = clubId;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reson) {
        this.reason = reson;
    }

    public long getPetrol() {
        return petrol;
    }

    public void setPetrol(long petrol) {
        this.petrol = petrol;
    }
}
